
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
	<div id="fav" class="aui-list"></div>
</body>


<script id="tpl-fav-row" type="text/x-dot-template">
	<div class="feed-row aui-list-item" data-tid="{{=it.id}}" data-fid="unknown" data-from="fav" tapmode onclick="ccn() && views.openPostFromList(this);">
		<div class="main">
		{{? str_being(it.thumbnail)}}
			<div class="right {{=classOnNoImg(it.thumbnail)}}">
				<img class="pic" src="../../../global/image/ph.png" data-src="{{=absAssetUrl(it.thumbnail)}}"></img>
			</div>
			<div class="left">
		{{??}}
			<div class="full">
		{{?}}
				<div class="subject">
					{{=it.title}}
				</div>
        		<div class="meta">
                    <div class="aui-card-list-user-avatar">
                        <img src="{{=it.avatar}}" data-type="avatar" class="aui-img-round" />
                    </div>
        			<span class="author text">{{=decodeEmoji(it.author)}}</span>
        			<!-- <span class="forum-part">发布于<span class="forum text">{{=it.columnname}}</span></span> -->
        			<span class="aui-pull-right">
        				<span class="date text">{{=vdateF(it.dateline)}}&nbsp;</span>
        	            <i class="aui-iconfont aui-icon-comment text"></i>
        				<span class="replies text">{{=it.replies}}</span>
        			</span>
        		</div>
            </div>
        </div><!-- main -->
	</div>
</script>


<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>

<script type="text/javascript" src="../../../global/script/_fakeApi.js"></script>

<script type="text/javascript">
	window.mockFavList = {
		"Version": "1",
		"Charset": "UTF-8",
		"Variables": {
			"cookiepre": "R9rg_2132_",
			"auth": "4ad44lCHEiBgd1uoecURjaxub3rKaRywSHEcEwmA33pvQw6\/GzTrMD\/ynba1iod\/sLd5l0QB4Uxw8WJGKBX4fQo",
			"saltkey": "W0ov54g4",
			"member_uid": "222",
			"member_username": "notecode",
			"member_avatar": "http:\/\/localhost\/uc_server\/avatar.php?uid=222&size=small",
			"groupid": "12",
			"formhash": "d50e853a",
			"ismoderator": null,
			"readaccess": "30",
			"notice": {
				"newpush": "0",
				"newpm": "0",
				"newprompt": "3",
				"newmypost": "0"
			},
			"list": [{
				"favid": "4",
				"uid": "222",
				"id": "237",
				"idtype": "tid",
				"spaceuid": "0",
				"title": "\u6ca7\u5dde\u623f\u4ef7 \u6ee1\u6ee1\u7684\u65e0\u5948",
				"description": "",
				"dateline": "1501733197",
				"icon": "<img src=\"static\/image\/feed\/thread.gif\" alt=\"thread\" class=\"t\" \/> ",
				"url": "forum.php?mod=viewthread&tid=237",
				"replies": "9",
				"author": "\u671d\u82b1\u5915\u62fe"
			}],
			"perpage": "20",
			"count": "1"
		}
	}

	fooFavList();
</script>
